package com.jeesite.modules.kj.api.enumCode;

public enum UnicomResponseEnums {

    SYSTEM_ERROR("-001","系统异常"),
    BAD_REQUEST("-002","错误的请求参数"),
    NOT_FOUND("-003","找不到请求路径！"),
    CONNECTION_ERROR("-004","网络连接请求失败！"),
    METHOD_NOT_ALLOWED("-005","不合法的请求方式"),
    DATABASE_ERROR("-004","数据库异常"),
    BOUND_STATEMENT_NOT_FOUNT("-006","找不到方法！"),
    REPEAT_REGISTER("001","重复注册"),
    NO_USER_EXIST("002","用户不存在"),
    INVALID_PASSWORD("003","密码错误"),
    NO_PERMISSION("004","非法请求！"),
    SUCCESS_OPTION("005","操作成功！"),
    FAIL_REGISTER("006","注册失败"),
    NOT_MATCH("-007","用户名和密码不匹配"),
    MUST_LOGIN("-010","必须传入token才可访问"),
    FAIL_GETDATA("-008","获取信息失败"),
    BAD_REQUEST_TYPE("-009","错误的请求类型"),
    INVALID_MOBILE("010","无效的手机号码"),
    INVALID_EMAIL("011","无效的邮箱"),
    INVALID_GENDER("012","无效的性别"),
    REPEAT_MOBILE("014","已存在此手机号"),
    REPEAT_EMAIL("015","已存在此邮箱地址"),
    NO_RECORD("016","没有查到相关记录"),
    LOGIN_SUCCESS("017","登陆成功"),
    LOGOUT_SUCCESS("018","已退出登录"),
    SENDEMAIL_SUCCESS("019","邮件已发送，请注意查收"),
    EDITPWD_SUCCESS("020","修改密码成功"),
    No_FileSELECT("021","未选择文件"),
    FILEUPLOAD_SUCCESS("022","上传成功"),
    NOLOGIN("023","未登陆"),
    ILLEGAL_ARGUMENT("024","参数不合法"),
    ERROR_IDCODE("025","验证码不正确"),
    FILE_NOTFOUND("026","文件不存在"),
    SN_NOTFOUND("027","设备号（openid）不能为空"),
    WECHAT_ERROR("-1","系统繁忙，此时请开发者稍候再试"),
    WECHAT_NO_CODE("40029","Code 无效"),
    WECHAT_MAX_OUT("45011","频率限制，每个用户每分钟100次"),
    NOT_ADMIN("100","不是管理员用户");

    private String code;
    private String msg;
    private UnicomResponseEnums(String code, String msg) {

        this.code = code;
        this.msg = msg;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }



}